package org.jeecg.modules.qyxxora.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.qyxxora.entity.ZbjkScyszbjcMx;
import org.jeecg.modules.qyxxora.entity.ZbjkScyszbjcQy;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author chensherun on 2021/12/23.
 * @version 1.0
 */
@ApiModel
@Data
@Accessors(chain = true)
public class ScysZbjcPageResultExportVo {

//    /**
//     * 客户编号
//     */
//    @ApiModelProperty(name = "客户编号")
//    @Excel(name = "客户编号", width = 15, needMerge = true)
//    private String customerCode;

//    /**
//     * 部门编号或支行编号
//     */
//    @ApiModelProperty(name = "部门编号或支行编号")
//    @Excel(name = "部门编号或支行编号", width = 15, needMerge = true)
//    private String saleNetCode;

    /**
     * 部门名称或支行名称
     */
    @ApiModelProperty(name = "所属支行名称")
    @Excel(name = "部门名称或支行名称", width = 15, needMerge = true)
    private String departName;

    @Excel(name = "企业ID", width = 15, needMerge = true)
    @ApiModelProperty(value = "企业ID")
    private String djxh;

    /**纳税人识别号/社会信用代码*/
    @Excel(name = "纳税人识别号/社会信用代码", width = 15, needMerge = true)
    @ApiModelProperty(value = "纳税人识别号/社会信用代码")
    private String nsrsbh;
    /**企业名称*/
    @Excel(name = "企业名称", width = 15, needMerge = true)
    @ApiModelProperty(value = "企业名称")
    private String nsrmc;

    /**所属年月，例如：（202105）*/
    @Excel(name = "所属年月", width = 15, needMerge = true)
    @ApiModelProperty(value = "所属年月，例如：（202105）")
    private String ssny;

    /**监测时间*/
    @Excel(name = "监测时间", width = 20, format = "yyyy-MM-dd HH:mm:ss", needMerge = true)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "监测时间")
    private Date jcsj;

    /**预警级别（L1：红；L2：橙；L3：蓝）*/
    @Excel(name = "企业风险等级", width = 15, dicCode = "scys_qy_yjdj", needMerge = true)
    @ApiModelProperty(value = "预警级别（L1：红；L2：橙；L3：蓝）")
    @Dict(dicCode = "scys_qy_yjdj")
    private String yjjb;

    /**
     * 预警级别3
     */
    @ApiModelProperty(name = "预警级别L3")
    @Excel(name = "蓝色预警任务数", width = 15, needMerge = true)
    private Integer yjsL3;

    /**
     * 预警级别2
     */
    @ApiModelProperty(name = "预警级别L2")
    @Excel(name = "橙色预警任务数", width = 15, needMerge = true)
    private Integer yjsL2;

    /**
     * 预警级别L1
     */
    @ApiModelProperty(name = "预警级别L1")
    @Excel(name = "红色预警任务数", width = 15, needMerge = true)
    private Integer yjsL1;

    /**
     * 未核查数量
     */
    @ApiModelProperty(name = "未核查数量")
    @Excel(name = "未核查数量", width = 15, needMerge = true)
    private Integer whcSl;

    /**
     * 核查中数量
     */
    @ApiModelProperty(name = "核查中数量")
    @Excel(name = "核查中数量", width = 15, needMerge = true)
    private Integer hczSl;

    /**
     * 已核查数量
     */
    @ApiModelProperty(name = "已核查数量")
    @Excel(name = "已核查数量", width = 15, needMerge = true)
    private Integer yhcSl;

    /**
     * 预警余额
     */
    @Excel(name = "预警余额(万元)", width = 15, needMerge = true)
    private BigDecimal balance;

    /**
     * 明细
     */
    @ExcelCollection(name = "明细")
    private List<ZbjkScyszbjcMxExportVo> mxList;
}
